package com.example;

import com.example.demo.IUserService;
import com.example.demo.User;
import org.springframework.stereotype.Service;

@Service("com.example.demo.IUserService")
public class UserService implements IUserService {


    @Override
    public User findById(Integer id) {
        User user = new User();
        user.setId(100);
        user.setName("xxx");
        return user;
    }
}
